package per.sunmes.cl.g.data.cards;

import per.sunmes.cl.g.actor.Card;
import per.sunmes.cl.g.actor.Zone;
import per.sunmes.cl.g.data.CardEffect;
import per.sunmes.cl.g.screen.GameScreen;

import com.badlogic.gdx.scenes.scene2d.Group;

public class CardEffect1 implements CardEffect {
	// 基本类型
	// 占领当前区域
	@Override
	public void effect(GameScreen gameScreen, Zone selfZone, Card cardSelf) {
		selfCardMoveLandEffect(gameScreen, selfZone, cardSelf);
		// ///
		gameScreen.delayActionExecuteNextRound(0.4f);
	}

	@Override
	public void preEffect(GameScreen gameScreen, Zone selfZone, Card cardSelf,
			Group previewGroup) {
		preEffectCardSelfLand(gameScreen, selfZone, cardSelf, previewGroup);
	}

	@Override
	public boolean isCouldPutToZone(Zone zone) {
		return zone.getCard() == null;
	}

}
